package day0309;

import java.io.*;

public class PwDemo {
    public static void main(String[] args) throws FileNotFoundException {
        FileOutputStream fos =new FileOutputStream("note.txt");
        OutputStreamWriter osw= new OutputStreamWriter(fos);
        BufferedWriter bw =new BufferedWriter(osw);
        PrintWriter pw= new PrintWriter(bw,true);
        pw.println("11111111");
        pw.close();
    }

}
